package com.xlh.pojo.cases;

import java.io.Serializable;

public class CaseLibrary implements Serializable {
    /**
     * 案例id
     *
     * @mbg.generated
     */
    private Long id;

    /**
     * 行业id
     *
     * @mbg.generated
     */
    private Long businessId;

    /**
     * 案例标题
     *
     * @mbg.generated
     */
    private String title;

    /**
     * 案例简介
     *
     * @mbg.generated
     */
    private String intro;

    /**
     * 图片名
     *
     * @mbg.generated
     */
    private String file;

    /**
     * 教师点赞数
     *
     * @mbg.generated
     */
    private Long teacherStar;

    /**
     * 学生点赞数
     *
     * @mbg.generated
     */
    private Long studentStar;

    /**
     * 是否删除
     *
     * @mbg.generated
     */
    private Boolean deleted;

    /**
     * 案例内容
     *
     * @mbg.generated
     */
    private String content;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Long businessId) {
        this.businessId = businessId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getFile() {
        return file;
    }

    public void setFile(String file) {
        this.file = file;
    }

    public Long getTeacherStar() {
        return teacherStar;
    }

    public void setTeacherStar(Long teacherStar) {
        this.teacherStar = teacherStar;
    }

    public Long getStudentStar() {
        return studentStar;
    }

    public void setStudentStar(Long studentStar) {
        this.studentStar = studentStar;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", businessId=").append(businessId);
        sb.append(", title=").append(title);
        sb.append(", intro=").append(intro);
        sb.append(", file=").append(file);
        sb.append(", teacherStar=").append(teacherStar);
        sb.append(", studentStar=").append(studentStar);
        sb.append(", deleted=").append(deleted);
        sb.append(", content=").append(content);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}